<template>
  <router-view v-slot="{Component} ">
    <transition mode="out-in" name="fade">
      <component :is="Component"></component>
    </transition>
  </router-view>
</template>

<script>
export default {
  name: "AnimationRouterView"
};
</script>

<style scoped>

</style>